package com.lzw.breezeNovel.WebAdmin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 管理员登录实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class AdminLoginVo {

    @Schema(description = "管理员id")
    private Integer id;

    @Schema(description = "管理员用户名")
    private String username;

    @Schema(description = "管理员密码")
    private String phone;

    @Schema(description = "管理员邮箱")
    private String email;

    @Schema(description = "管理员状态")
    private String status;

    @Schema(description = "管理员头像")
    private String avatar;

    @Schema(description = "管理员创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
